﻿#region license
//Copyright 2008 Ritesh Rao 

//Licensed under the Apache License, Version 2.0 (the "License"); 
//you may not use this file except in compliance with the License. 
//You may obtain a copy of the License at 

//http://www.apache.org/licenses/LICENSE-2.0 

//Unless required by applicable law or agreed to in writing, software 
//distributed under the License is distributed on an "AS IS" BASIS, 
//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
//See the License for the specific language governing permissions and 
//limitations under the License. 
#endregion

namespace Rhinestone.Domain
{
    /// <summary>
    /// Specifies the current status of a <see cref="WorkItemStatus"/> instance.
    /// </summary>
    public enum WorkItemStatus
    {
        /// <summary>
        /// Specifies that the work item has been submitted by a user.
        /// </summary>
        Submitted = 1,
        /// <summary>
        /// Specifies that the work item is being reviewed.
        /// </summary>
        UnderReview = 2,
        /// <summary>
        /// Specifies that the work item is waiting for some action to happen.
        /// </summary>
        WaitingForAction = 3,
        /// <summary>
        /// Specifies that the work item is put on hold.
        /// </summary>
        OnHold = 4,
        /// <summary>
        /// Specifies that the work item needs to be acted upon and requires scheduling.
        /// </summary>
        ToBeScheduled = 5,
        /// <summary>
        /// Specifies that the work item has been scheduled to be acted upon.
        /// </summary>
        Scheduled = 6,
        /// <summary>
        /// Specifies that the work item is currently being worked on and is in progress.
        /// </summary>
        InProgress = 7,
        /// <summary>
        /// Specifies that the work item has been cancelled and resources released.
        /// </summary>
        Cancelled = 8,
        /// <summary>
        /// Specifies that the work item has been rejected and will not be worked on.
        /// </summary>
        Rejected = 9,
        /// <summary>
        /// Specifies that the work item has been completed along with all action items.
        /// </summary>
        Completed = 10,
        /// <summary>
        /// Specifies that the work item has been closed and should be archived.
        /// </summary>
        Closed = 11
    }
}
